package com.cskaoyan.bean;

import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 优惠卷
 */
@Data
public class Coupon {
    private Integer id;

    private String name;

    private String desc;

    private String tag;

    private Integer total;

    private BigDecimal discount;

    private BigDecimal min;

    private Integer limit;

    private Integer type;

    private Integer status;

    private Integer goodsType;

    private Integer[] goodsValue;

    private String code;

    private Integer timeType;

    private Integer days;

    private Date startTime;

    private Date endTime;

    private Date addTime;

    private Date updateTime;

    private Boolean deleted;
}
